package com.cosmic.pizza.service;

import com.cosmic.pizza.pojo.Food;
import com.cosmic.pizza.pojo.PageBean;

import java.util.List;

public interface FoodService {

    PageBean<Food> findByType(int type, int currentPage, int pageSize);

    Food findByFid(Integer fid);

    PageBean<Food> findByFname(int currentPage, int pageSize, String fname);

    void updateEval(int fid, String time, int evalsum, String sum);
}
